package com.hgw.Demo02_adapterPattern.objectAdapter;

/**
 * Data time:2021/12/14 09:28
 * StudentID:2019112118
 * Author:hgw
 * Description: 适配者类
 */
public class TFCardImpl implements TFCard {
    @Override
    public String readTF() {
        String msg = "TFCard read msg: hello,TFCard!";
        return msg;
    }

    @Override
    public void writTF(String msg) {
        System.out.println("TFCard write msg: " + msg);
    }
}
